//
//  Constants.h
//  weappios
//
//  Created by chensentao on 2018/8/3.
//  Copyright © 2018年 XiGuangLu. All rights reserved.
//

#ifndef Constants_h
#define Constants_h

#import <Foundation/Foundation.h>

#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height

#define kScale_W(w) ((kScreenWidth)/375) * (w)
#define kScale_H(h) (kScreenHeight/667) * (h)

//判断是否iphonex
#define kISiPhoneX kScreenHeight >= 812.0
//状态栏高度
#define kStatusBarHeight (kISiPhoneX?44:20)
//标签栏高度
#define kTabBarHeight (kStatusBarHeight > 20 ? 83 : 49)
//导航栏高度
#define kNavBarHeight (StatusBarHeight + 44)
//安全区高度
#define kSafeAreaBottom (kISiPhoneX ? 34 : 0)

#define LOAD_TAG        @"ttlqb_"

//微信
#define APP_ID          @"wx7003d459a8c02a82"
#define APP_ID_ARTICLE  @"wx7003d459a8c02a82"

//个推
#define kGtAppId          @"1NrdLaHwN66sETQv9RTiW5"
#define kGtAppSecret      @"PIrZEKdaxB6mZ1OBkfShl4"
#define kGtAppKey         @"jLTbMjmaur7CDMNbRww9W8"

//穿山甲
#define kUnionADID        @"5030276"
#define kBUSplashAdID     @"830276478"
#define kRewardedID       @"930276573"

//sigMob
#define kSigmobAPPID        @"1700"
#define kSigmobAPPKey       @"d20d5eb92fc9444e"
#define kSigmobRewardedID   @"e3ece8a23d9"

#endif /* Constant_h */

